@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100&display=swap");

div {
    font-family: "Poppins", sans-serif;
}

body,
html {
    margin: 0;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, sans-serif;
}

.tablet {
    position: relative;
    width: 40vw;
    height: 40vh;
    margin: auto;
    border: 16px solid black;
    border-right-width: 60px;
    border-left-width: 60px;
    border-radius: 36px;
    display: none;
}

.tablet:before {
    content: "";
    display: block;
    width: 5px;
    height: 60px;
    position: absolute;
    top: 50%;
    left: -30px;
    transform: translateY(-50%);
    background: #333;
    border-radius: 10px;
}

.tablet:after {
    content: "";
    display: block;
    width: 35px;
    height: 35px;
    position: absolute;
    top: 50%;
    right: -45px;
    transform: translateY(-50%);
    background: #333;
    border-radius: 50%;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.2); /* Adds shadow for depth */
    transition: transform 0.3s; /* For a smooth press effect */
}

.tablet:hover:after {
    transform: translateY(-50%) scale(0.95); /* Slight scaling on hover for feedback */
}

.tablet:active:after {
    transform: translateY(-50%) scale(0.9); /* More scaling when pressed for a push effect */
}

.screen {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #333;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.navbar {
    display: flex;
    justify-content: space-around;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding-top: 10px;
    background: #222;
}

.nav-item {
    color: white;
    background: none;
    border: none;
    text-decoration: none;
    padding: 10px 15px;
    transition: background-color 0.3s;
    font-size: 1.5vh;
    cursor: pointer;
}

#content-area {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    width: 100%;
    height: 75%;
    padding-left: 8vw;
}

.input-label {
    display: block;
    margin-bottom: 8px; /* Adds space between the label and the input box. Adjust as needed. */
}

.input-container {
    color: white;
    font-weight: bolder;
    font-size: 1vh;
    margin-bottom: 12px;
    min-width: 30%;
}

.number-input {
    width: 50%; /* Adjust width as desired. */
    height: 30px; /* Adjust height as desired. */
    padding: 4px; /* Add some padding for better appearance. */
    box-sizing: border-box; /* Makes sure padding doesn't increase the size of the input. */
}

.button-group {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20px 0;
    position: absolute;
    bottom: 0;
    width: 100%;
}

.action-button {
    padding: 10px 20px;
    border: none;
    background-color: #dc143c;
    border-radius: 0.3vh;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
}

.description-box {
    display: flex;
    align-items: center; /* Vertically center the content */
    justify-content: center; /* Horizontally center the content */
    color: white;
    font-weight: bolder;
    width: 15vw;
    height: 50px; /* Or adjust as per your requirement */
    margin: 0 20px; /* Space between the buttons and the box */
    background-color: #333; /* Choose a background color */
    border-radius: 5px; /* Rounded corners */
    padding: 5px; /* Inner padding */
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); /* Optional shadow effect */
}
